package com.iflytek.sbd.demo.lambda.bokedemo;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @program: sbd
 * @description:
 * @author: 陈英俊
 * @create: 2022-01-21 09:36
 */
@Getter
@Setter
@ToString
public class Person {

    private String name;  // 姓名
    private int salary; // 薪资
  //  private int age; // 年龄
    private String sex; //性别
    private String area;  // 地区


    public Person() {
    }

    // 构造方法
    public Person(String name, int salary,String sex,String area) {
        this.name = name;
        this.salary = salary;
      //  this.age = age;
        this.sex = sex;
        this.area = area;
    }
}
